//     示例

export default [
  {
    url: /\/admin-api\/business\/project\/task\/page/,
    method: 'get',
    result(options) {
      return {
        code: 200,
        msg: '成功',
        data: {
          total: 100,
          list: [
            {
              id: '1',
              taskName: 'xxx任务',//项目名称
              director: '明芳',
              score: 0.1,
              state: '1',
              content: 'xxxxxxxxxx',
              remark: 'rrrrrrrrrrr',
            }
          ]
        }
      }
    }
  }, {
    url: /\/admin-api\/business\/project\/task\/create/,
    method: 'post',
    result(options) {
      return {
        code: 200,
        msg: '成功',
      }
    }
  }, {
    url: /\/admin-api\/business\/project\/task\/update/,
    method: 'post',
    result(options) {
      return {
        code: 200,
        msg: '成功',
      }
    }
  }, {
    url: /\/admin-api\/business\/project\/task\/delete/,
    method: 'get',
    result(options) {
      return {
        code: 200,
        msg: '成功',
      }
    }
  },
  {
    url: /\/admin-api\/business\/project\/task\/[0-9]$/,
    method: 'get',
    result(options) {
      return {
        code: 200,
        msg: '成功',
        data: {
          id: '1',
          taskName: 'xxx任务',//项目名称
          director: '明芳',
          score: 0.1,
          state: '1',
          content: 'xxxxxxxxxx',
          remark: 'rrrrrrrrrrr',
        }
      }
    }
  },
]
